"use strict";

const Controller = require("egg").Controller;
class NewsController extends Controller {
  async index() {
    let list=await this.service.userList.list();
    console.log(list);
    await this.ctx.render('news',{
      list:list
    });
  
  }
}

module.exports = NewsController;
